<script setup lang="ts">
import { ElConfigProvider } from "element-plus";
import zhCn from "element-plus/es/locale/lang/zh-cn";

import Parent from './view/parent.vue';
import Child from './view/child.vue';

const locale = zhCn;
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
</script>

<template>
  <el-config-provider :locale="locale">
    <router-view />  
  </el-config-provider>
  <!-- <Parent></Parent>
  <Child></Child> -->
</template>

<style lang="scss" scoped>
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
</style>
